package at.htlkaindorf.jsf.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author david.tomes
 */
public class Entry implements Serializable {

    private static final long serialVersionUID = 6427237429621119836L;

    private Long id;
    private String name;
    private String email;
    private Date postDate;
    private String title;
    private String text;

    public Entry() {
    }

    public Entry(Long id, String name, String email, Date postDate, String title, String text) {
        this.id = id;
        this.name = name;
        this.email = email;
        this.postDate = postDate;
        this.title = title;
        this.text = text;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getPostDate() {
        return postDate;
    }

    public void setPostDate(Date postDate) {
        this.postDate = postDate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
